<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width:200px;
            height:200px;
            background-color:red;
            overflow:hidden;
            /* float:left; */
            /* padding-top:100px; */
            /* border:2px solid yellow; */
        }
        div p{
            width:50px;
            height:50px;
            background-color:blue;
            /* margin-top:100px;
            display:inline-block; */
            /* float:left; */
            /* position:absolute; */
        }
    </style>
</head>
<body>
    <div>
        <p></p>
    </div>
</body>
</html>